#include <iostream>
#include "../Simple_window.h"
#include "../Graph.h"
using namespace std;

int main()
{
    using namespace Graph_lib;

    Point tl{100, 100};
    Simple_window win{tl, 600, 400, "canvas"};

    Polygon poly;

    poly.add(Point{300, 200});
    poly.add(Point{350, 100});
    poly.add(Point{400, 200});

    win.attach(poly);
    win.wait_for_button();

    return 0;
}